package com.litorg.demo.db.mapper;
 
import com.litorg.demo.db.vo.Article;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;
 
/**
 * @author xiaomifeng1010
 * @version 1.0
 * @date: 2022/5/8 21:06
 * @Description
 */
@Repository
public interface ArticleDao extends MongoRepository<Article,String> {
    Article findByAuthor(String author);
}